A digital companion, the EMMA app, for ecological momentary assessment and prevention of suicide: quantitative case series study